From: Lars Ingebrigtsen Date: Mon, 24 Jan 2022 10:16:30 +0000 (+0100) Subject: Add "then" to sh--completion-keywords X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3255 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=bcf844b5fcaeff3548e35b6a6e3c320c8187ae06;p=emacs.git Add "then" to sh--completion-keywords * lisp/progmodes/sh-script.el (sh--completion-keywords): Allow completing over "then" (bug#53490). --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index ba86ceb0eda..3ad0f0182f8 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1602,7 +1602,7 @@ This adds rules for comments and assignments." ;;; Completion -(defvar sh--completion-keywords '("if" "while" "until" "for")) +(defvar sh--completion-keywords '("if" "while" "until" "for" "then")) (defun sh--vars-before-point () (save-excursion